<table class="table">
  <tr>
    <th class="text-left gray-font-12">标签名</th>
    <th class="text-right gray-font-12">文章数量</th>
  </tr>
  <%- if tags.size > 0 %>
      <%- tags.each do |tag| %>
          <tr>
            <th class="text-left font14"><%= link_to tag.name, tag_path(tag) %></th>
            <th class="text-right gray-font-12"><%= tag.topics.size %></th>
          </tr>
      <%- end %>
  <%- end %>
</table>
